<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        
    </h:head>
    <h:body>
        <h:form>
            <div id="contenedor" style="background-image: url(images/login.png);">
                <div id="contenedor2" align="center">
                    <h:panelGrid columns="1">
                        <h:panelGroup>
                            <div style="text-align: left">
                                <p:outputLabel for="usuario" value="Usuario:" style="font-weight:bold;color:white; text-align: left"/>
                                
                            </div>
                        </h:panelGroup>

                        <h:panelGroup>
                            <div style="text-align: left">
                                <p:inputText id="usuario" value="#{loginController.user.VLogin}" required="true" requiredMessage="#{bundle.errorUsuario}" style="font-size: 12px; color: #444444; width: 150px;"/>                     

                            </div>
                        </h:panelGroup>

                        <h:panelGroup>
                            <div style="text-align: left; padding-top: 10px;">
                                <p:outputLabel for="passwd" value="Contraseña:" style="font-weight:bold;color:white; text-align: left"/>
                            </div>
                        </h:panelGroup>

                        <h:panelGroup>
                            <div style="text-align: left">
                                <p:password id="passwd" value="#{loginController.user.VPassword}" required="true"  style="font-size: 12px; color: #444444; width: 150px;"/>

                            </div>
                        </h:panelGroup>
                        

                        <h:panelGroup>
                            <div align="right" style="padding-top: 10px;">
                                 <p:commandButton style="color: #036fab; font-size: 10px;" value="Ingresar" action="#{loginController.login}" ajax="false"
                                                  icon="ui-icon-person"/>
          
                            </div>
                        </h:panelGroup>
                       
                    </h:panelGrid>
                </div>
            </div>
        </h:form>
    </h:body>
</html>

